package example.simple_mindmap.common.designs.theadPool.strategy.error;

import example.simple_mindmap.common.designs.theadPool.BulkExecuteHandler;
import example.simple_mindmap.common.designs.theadPool.BulkTask;

/**
 * @Program: 0.test
 * @Author: 海里的鱼
 * @Create: 2024-08-26 20:20
 * @Name: TODO
 * @Desc: TODO
 */
public class CollectError implements IErrorStrategy{


    @Override
    public void processError(BulkExecuteHandler handler, BulkTask task) {
        handler.addErrorTask(task.getName());
    }


}
